#include <iostream>
#include <vector>

using std::vector;

void print_vector_int (vector<int> vec) {
    for (auto it = vec.begin(); it != vec.end(); it++)
        std::cout << *it << " " << std::ends;
    std::cout << std::endl;
}

void print_vector_string (vector<std::string> vec) {
    for (auto it = vec.begin(); it != vec.end(); it++)
        std::cout << *it << " " << std::ends;
    std::cout << std::endl;
}

int main()
{
    vector<int> v1;
    vector<int> v2(10);
    vector<int> v3(10, 32);
    vector<int> v4{10};
    vector<int> v5{10, 42};
    vector<std::string> v6{10};
    vector<std::string> v7{10,"hi"};
    print_vector_int(v1);
    print_vector_int(v2);
    print_vector_int(v3);
    print_vector_int(v4);
    print_vector_int(v5);
    print_vector_string(v6);
    print_vector_string(v7);
}